<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<{$Charset}>">
<title>控制台_<{$sitetitle}></title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" type="text/css" href="<{$CSS_PATH}>css/style.css">
<script language="javascript" src="<{$JS_PATH}>js/general.js"></script>
</head>

<body>
<table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="13" colspan="3" background="<{$tpl_img_path}>admin/edge_top.gif">&nbsp;</td>
  </tr>
  <tr>
    <td width="8" align="center" bgcolor="#FFF4EE">&nbsp;    </td>
    <td align="center" valign="top"><table width="96%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="6"></td>
      </tr>
      <tr>
        <td align="center">
		<table width="100%"  border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="15">
			  <img src="<{$tpl_img_path}>admin/path_bg_l.gif" width="15" height="38">			  </td>
              <td background="<{$tpl_img_path}>admin/path_bg_m.gif">
			  <img src="<{$tpl_img_path}>admin/flash.gif" width="18" height="18" align="absmiddle"> 
			  <span class="blue_2">您当前的位置：</span>
			  <a href="#" onClick="parent.main.location='home.php';return false;">控制台</a>&nbsp;&raquo;&nbsp;产品库图片管理</td>
              <td width="15"><img src="<{$tpl_img_path}>admin/path_bg_r.gif" width="15" height="38"></td>
            </tr>
        </table>		</td>
      </tr>
      <tr>
        <td align="center">
		  <form name="listfrm" method="post" action="./product.php">
          <table width="100%"  border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td>
			  <table width="100%"  border="0" cellpadding="2" cellspacing="1" bgcolor="#4DA6FF">
                      <tr bgcolor="#D2EAFD"> 
                        <td height="30" align="center"><input type="checkbox" name="pidAll" onClick="uaCheckAll(this, 'pid[]')"></td>
                        <td align="center" class="orange_B"><strong>产品名称</strong></td>
                        <td align="center" class="orange_B"><strong>图片</strong></td>
                        <td align="center" class="orange_B"><strong>状　态</strong></td>
                        <td height="30" align="center" class="orange_B"><strong>发布时间</strong> </td>
                    </tr>
					<!-- single product -->
					<{foreach from=$ProductList name=plist item=p}>
                  <tr bgcolor="<{cycle values="#eeeeee,#ffffff"}>">
                    <td height="30" align="center"><input type="checkbox" name="pid[]" value="<{$p.PID}>" onClick="uaCheckItem(this, 'pidAll')"></td>
                    <td align="center"><{$p.ProductName|truncate:35}></td>
                    <td align="center"><a href="./product.php?action=mod&id=<{$p.PID}>"><img src="<{$attachment_dir}><{$p.ProductPicture}>.small.jpg" width="75" height="75" border="0" /></a></td>
                    <td align="center"><{$CheckStatus[$p.ProductStatus]}></td>
                    <td align="center"><{$p.CreateDate|date_format:"%Y-%m-%d"}></td>
                    </tr>
					<{foreachelse}>
					<{/foreach}>
					<!-- :~single product -->
              </table>			  </td>
            </tr>
            <tr>
              <td><br>
                  <table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#D2EAFD">
                      <tr>
                      <td width="57%" class="button">                        <input type=submit value="通过审核"  name="checkin_product">
                        <input type=submit value="取消审核"  name="checkout_product"><input type=submit value="删   除"  name="delete_product"></td>
                      <td width="43%">&nbsp;</td>
                    </tr>
                </table></td>
            </tr>
          </table>
           </form>          </td>
      </tr>
      <tr>
        <td height="40"><br>
            <table width="100%" height=30 border="0" cellpadding=5 cellspacing="0">
              <tbody>
                <tr vAlign=baseline height=30>
                  <td align="center"><{$ByPages}></td>
                </tr>
              </tbody>
            </table></td>
      </tr>
    </table>
      <br> </td>
    <td width="8" align="center" bgcolor="#FFF4EE">&nbsp;</td>
  </tr>
  <tr bgcolor="#D2EAFD"> 
    <td height="8" colspan="3"></td>
  </tr>
</table>
</body>
</html>
<script language="javascript">
var linkage = new Linkage("dataSrc", "<{$JS_PATH}>media/xml/industry_option.xml");
linkage.BLANK_SELECT = "请选择";
linkage.init();
var linkage2 = new Linkage("dataSrc2", "<{$JS_PATH}>media/xml/area.xml");
linkage2.BLANK_SELECT = "请选择";
linkage2.init();
</script>